Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ListBase<T> Class / Sort Method / Sort(Comparison<T>) Method
The Comparison to use when comparing elements.


In This Topic
    Sort(Comparison<T>) Method
    In This Topic
    Sorts the elements in the entire List using the specified Comparison.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Sort( _
       ByVal comparison As Comparison(Of T) _
    ) 
    'Usage
     
    
    Dim instance As ListBase(Of T)
    Dim comparison As Comparison(Of T)
     
    instance.Sort(comparison)
    public void Sort( 
       Comparison<T> comparison
    )

    Parameters

    comparison
    The Comparison to use when comparing elements.
    See Also